package com.tfjybj.itoo.exam.provider.service;

import com.dmsdbj.itoo.tool.base.service.BaseServicePlus;
import com.tfjybj.itoo.exam.entity.EvaluationMainEntity;
import com.tfjybj.itoo.exam.model.EvaluationMainModel;

import java.util.List;


/**
 * TeEvaluationMainService接口
 * teEvaluationMain表
 *
 * @author 杨江涛
 * @version 2.0.0
 * @since 2.0.0 2018-12-18 18:19:48
 */
public interface EvaluationMainService extends BaseServicePlus<EvaluationMainEntity> {
    /**
     * 根据题干id查询题干信息
     * @param evaluationMainEntity 题干实体
     * @return true or false
     * @author 杨江涛
     * @since 2019-1-15 20:54:16
     */
    boolean insertTeEvaluationMain(EvaluationMainEntity evaluationMainEntity);

    /**
     * 根据题干id查询题干信息
     * @param id 题干id
     * @return 题干信息
     * @author 杨江涛
     * @since 2019-1-15 20:54:16
     */
    List<EvaluationMainModel> queryTeEvaluationMain(String id);
}
